<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta name="Robots" content="nofollow">
    <title>天津一体化</title>
</head>

<body>
	<form action="http://10.226.120.45:8091/TJ/dologin.do" id="loginForm" method="post" target="loginIframe" style="display: none">
		<input name="name" id="name" type="text" value=""/>
		<input name="password" id="password" type="password" value=""/>
		<input type="submit"/>
	</form>
    <script>
        var queryParam = function(val) {
            var uri = window.location.search;
            var re = new RegExp("" + val + "=([^&?]*)", "ig");
            return ((uri.match(re)) ? (uri.match(re)[0].substr(val.length + 1)) : null);
        }
        var userInfo = window.parent.$("#userInfo", window.parent.document).data('info');
        document.getElementById("name").value = userInfo.smuser.loginName;
        document.getElementById("password").value= userInfo.smuser.pwd;
        document.getElementById("loginForm").submit();
        setTimeout(function(){
            window.location.href = queryParam('src');
        }, 1000)
        
    </script>
</body>

</html>